package com.numbfish.ch_03.Phaser_test9.src.test ;

import java.util.concurrent.Phaser;

import com.numbfish.ch_03.Phaser_test9.src.extthread.ThreadA;
import com.numbfish.ch_03.Phaser_test9.src.extthread.ThreadB;

public class Run1 {
	public static void main(String[] args) {
		Phaser phaser = new Phaser(3);
		ThreadA a = new ThreadA(phaser);
		a.setName("A");
		a.start();
		ThreadB b = new ThreadB(phaser);
		b.setName("B");
		b.start();
	}
}